package com.jianzong.lingxuan.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 宗门-用户表
 * @author lwl
 * @since 2021-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sect_user")
public class SectUser implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer id;

    /**
     * 推荐人
     */
    private Integer pid;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 登录ID
     */
    private Integer loginId;

    /**
     * 用户名
     */
    private String userName;

    /**
     *  头像
     */
    private String headUrl;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 密码
     */
    private String passWord;

    /**
     * 级别ID
     */
    private Integer levelId;

    /**
     * 级别名称
     */
    @TableField(exist = false)
    private String levelName;

    /**
     * 级别Icon图标
     */
    @TableField(exist = false)
    private String levelIcon;

    /**
     * 灵石
     */
    private Integer payStone;

    /**
     * 仓库ID
     */
    private Integer houseId;

    /**
     * 背包ID
     */
    private Integer knapsackId;

    /**
     * 功法ID
     */
    private Integer gongfaId;

    /**
     * 宠物ID
     */
    private Integer petsId;

    /**
     * 坐骑ID
     */
    private Integer mountId;

    /**
     * 朋友列表ID
     */
    private Integer friendsId;

    /**
     * 任务ID
     */
    private Integer taskId;

    /**
     * 人物ID
     */
    private Integer characterId;

    /**
     * 邮件ID
     */
    private Integer emailId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer isValid;


}
